package com.cn.kabalifeuser.ui.order.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.cn.kabalifeuser.R;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/25.
 * function:
 */
public class TypesReasonAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public TypesReasonAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);

    }

    @Override
    protected void convert(BaseViewHolder helper, final String item) {
        helper.setGone(R.id.tv_name, false);
        helper.setText(R.id.tv_content, item);
    }
}
